// 存放AJAX请求API的url地址
const BASE_URL = 'http://localhost:8080/';

const API = {
	GET_HOME_DATAS: BASE_URL + 'getHomeDatas',
	GET_LIST_DATAS: BASE_URL + 'getListDatas',
	GET_DETAIL: BASE_URL + 'getDetail',
	SEARCH_ACTION: BASE_URL + 'searchAction',
	
	ADD_USER: BASE_URL + 'userLogin/addUser',
	LOGIN: BASE_URL + 'userLogin/login',
	CODE: BASE_URL + 'userLogin/code',
	UPDATE_USER_PWD: BASE_URL + 'userLogin/updateUserPwd',

	INSERT_PLAN_ITEM: BASE_URL + 'plan/insertPlanItem',
	DELETE_PLAN_ITEM: BASE_URL + 'plan/deletePlanItem',
	GET_PLAN_ITEM: BASE_URL + 'plan/getPlanItem',
	UPDATE_PLAN_ITEM: BASE_URL + 'plan/updatePlanItem',
	TOGGLE_COMPLETED_STATUS: BASE_URL + 'plan/toggleCompletedStatus',

	UPDATE_USER_NICK_NAME: BASE_URL + 'userInfo/updateUserNickName',
	UPDATE_USER_SIGNATURE: BASE_URL + 'userInfo/updateUserSignature',
	UPDATE_USER_GENDER: BASE_URL + 'userInfo/updateUserGender',
	UPDATE_USER_IMG: BASE_URL + 'userInfo/updateUserImg',
	
	
}

export default {
	API
}
